<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>热点数据浏览器缓存测试页面</title>
</head>
<script src="/layui/lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
<body>
<button type="button" onclick="test()">提交</button>

</body>
<script type="text/javascript">
    function test() {
        var data = JSON.stringify({name:"1"})
        $.ajax({
            type: "post",
            url: "http://localhost:8085/my-system/1d04esb",
            data: data,
            contentType: "application/json",
            dataType:"JSON",
            headers: {
                "If-None-Match": ["W/ABDH\""]
            },
            success:function(result){
            },
            error:function () {
                alert('请求失败！');
            }
        })
    }
</script>
</html>